package com.joinway.framework.admin.core.service.table;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class TableServiceRepository implements ITableServiceRepository {

	private final static Logger log = LoggerFactory.getLogger(TableServiceRepository.class);

	@Autowired protected List<ITableService> services;
	
	@Autowired @Qualifier("DefaultTableService") protected ITableService defaultService;

	@Override
	public List<ITableService> getServices() {
		return services;
	}

	@Override
	public ITableService getDefaultService() {
		return defaultService;
	}
}

